{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}" xml:lang="{{ LANGUAGE_CODE }}" lang="{{ LANGUAGE_CODE }}">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>{% if SITE_NAME %} {{ SITE_NAME }} : {% endif %}{% block head_title %}{% endblock %}</title>
    <link rel="stylesheet" href="{{ STATIC_URL }}css/base.css" />
    <link rel="stylesheet" href="{{ STATIC_URL }}css/tabs.css" />
    <link rel="stylesheet" href="{{ STATIC_URL }}frontendadmin/css/frontendadmin.css" />
    <link rel="stylesheet" href="{{ STATIC_URL }}uni_form/uni-form.css" />
    {% block extra_head_base %}
        {% block extra_head %}{% endblock %}
    {% endblock %}
</head>

<body>
<img id="sun" src="http://assets.vimeo.com/images/land_sun.gif" style="top: 0px;"/>
<div id="color-wrapper">
    
    {% block website_title %}{% endblock %}
    
    <div id="outline">
    <div id="content-outline">
        
        {% spaceless %}
        <div id="tabhead">
            <div class="tabs" {% block tab_id %}{% endblock %}>
                {% block login %}{% endblock %}
                {% block tabs %}{% endblock %}
            </div>
        </div>
        <div id="subnav">
            {% block subnav %}{% endblock %}
        </div>
        {% endspaceless %}
                    
        {% block content_image %}{% endblock %}
        
        <div id="content">
        {% if messages %}
        <ul id="messages">
            {% for message in messages %}
            <li id="message_{{ forloop.counter }}"><a href="#" onclick="$('#message_{{ forloop.counter }}').fadeOut(); return false;"><small>{% trans "clear" %}</small></a> {{ message }}</li>
            {% endfor %}
        </ul>
        {% endif %}
        
        {% block body %}
     
        {% endblock %}

        {% block content_title %}
        {% endblock %}
        {% block content %}
        {% endblock %}
        <br/>
        </div>
        
        <hr class="clear"/>
    </div>
    </div>
    
    <div class="full">
        <div id="footer">
        {% block footer %}{% endblock %}
        <ul class="toolbar">
            <li><a href="#">Nosotros</a></li>
            <li><a href="#">Terminos del Servicio</a></li>
        </ul>
        </div>
    </div>
    
    <script src="{{ STATIC_URL }}pinax/js/jquery-1.3.2.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="{{ STATIC_URL }}js/jquery.featureList-1.0.0.js"></script>
    {% block extra_body_base %}
        {% block extra_body %}{% endblock %}
    {% endblock %}
</div>
</body>
</html>
